#ifndef WEBPARSERAUTHOR_H
#define WEBPARSERAUTHOR_H

#include <QUrl>
#include <QList>
#include <QString>
#include <QtWebKit/QtWebKit>
#include <QEventLoop>
#include <QObject>

QT_BEGIN_NAMESPACE
    class QUrl;
    class QWebPage;
    class QEventLoop;
QT_END_NAMESPACE

class webparserAuthor : public QObject
{
    Q_OBJECT

public:
    virtual QList<int> GetArticleList(const QUrl &Address);

protected:
    virtual QList<int> ParsePage(QWebPage *pWebPage) = 0;
};

#endif // WEBPARSERAUTHOR_H

